]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
unlockDialog: Use unique unlock-dialog style class
authorJoonas Henriksson <joonas.henriksson@gmail.com>
Wed, 26 Aug 2020 00:06:46 +0000 (03:06 +0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 7 Oct 2020 16:16:57 +0000 (16:16 +0000)
Allows styling the unlock dialog elements individually from the GDM
login dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1421

data/theme/gnome-shell-sass/widgets/_login-dialog.scss
js/ui/unlockDialog.js

index 06fdcf25a7bce29e407cfbd75ebed1f52f7e2944..6c40072c4e69edf0d34695b5a28092780445c217 100644 (file)
@@ -5,7 +5,8 @@
   max-width: 23em;
 }
 
-.login-dialog {
+.login-dialog,
+.unlock-dialog {
   //reset
   border: none;
   background-color: transparent;
index 4f461f398026be1d54a593303de625bd4f79ba04..974600ae544559e8370b1a2e2a752799d92395cb 100644 (file)
@@ -475,7 +475,7 @@ var UnlockDialog = GObject.registerClass({
     _init(parentActor) {
         super._init({
             accessible_role: Atk.Role.WINDOW,
-            style_class: 'login-dialog',
+            style_class: 'unlock-dialog',
             visible: false,
             reactive: true,
         });